<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:bms="http://java.sun.com/jsf/composite/bms">
	<ui:composition template="../template.xhtml">
		<ui:define name="content">
			<bms:post caption="New Post"
					  panel="#{newPost.panel}"
					  disabled="#{newPost.entitySaved}">
				<f:facet name="commands">
					<h:commandButton action="#{newPost.saveEntity}"
									 disabled="#{newPost.entitySaved}"
									 value="Save"/>				
				</f:facet>
			</bms:post>
		</ui:define>
	</ui:composition>
</html>
